﻿namespace Admin.NET.Application.Service;

public class TraKuaiSuFaXueMingXiInput
{
    // "血液Id回写"
    public long? xueYeId { get; set; }

    // "主侧（枚举）"
    public string? zhuCe { get; set; }

    // "次侧（枚举）"
    public string? ciCe { get; set; }

    // "配血结果（枚举）"
    public string? peiXueJieGuo { get; set; }

    // "配血用户"
    public long? peiXueRenId { get; set; }

    // "复核用户"
    public long? fuHeRenId { get; set; }

    // "配血日期"
    public DateTime? peiXueRiQi { get; set; }

    // "配血方法（枚举）"
    public string? peiXueFangFa { get; set; }

    // "复核配血方法（枚举）"
    public string? fuHePeiXueFangFa { get; set; }

    //血液信息

    //----------------------------发血信息
    public InvKuCunInput invKuCun { get; set; }
}

public class TraKuaiSuFaXueAddInput
{
    /// <summary>
    /// 申请单主表
    /// </summary>
    public TraShenQingInput traShenQingInput { get; set; }

    /// <summary>
    /// 患者表
    /// </summary>
    public TraShenQingHuanZheInput traShenQingHuanZheInput { get; set; }

    /// <summary>
    ///
    /// </summary>
    public TraShenQingYongXueInput traShenQingYongXueInput { get; set; }

    public List<TraShenQingJianYanInput> traShenQingJianYanList { get; set; }

    //配血 发血信息
    public List<TraKuaiSuFaXueMingXiInput> traKuaiSuFaXueMingXiList { get; set; }

    /// <summary>
    /// 复核信息
    /// </summary>
    public TraFuHeInput traFuHeInput { get; set; }

    /// <summary>
    /// 输血前体温
    /// </summary>
    public string shuXueQianTiWen { get; set; }
    public long? quXueRenId { get; set; }
    public string quXueRen { get; set; } = "";
    public string remark { get; set; } = "";
}

public class TraKuaiSuFaXueOutput
{
    public TraFaXueOutput faXue { get; set; }
    public TraShenQingOutput shenQing { get; set; }

    public TraShenQingHuanZheOutput huanZhe { get; set; }

    public TraShenQingYongXueOutput yongXue { get; set; }

    public TraFuHeOutput shenQingFuHe { get; set; }

    public List<TraKuaiSuFaXueMingXiInput> traKuaiSuFaXueMingXiList { get; set; }

    public List<TraShenQingJianYan> traShenQingJianYanList { get; set; }
}

public class TraKuaiSuFaXueAuditInput
{
    /// <summary>
    /// 申请单的Id
    /// </summary>
    public string Id { get; set; }

    public long? quXueRenId { get; set; }
}

public class TraKuaiSuFaXueMingXiUpdateInput
{
    public string Id { get; set; }
    public List<TraKuaiSuFaXueMingXiInput> traKuaiSuFaXueMingXiList { get; set; }
}
